package win.somereason.test.baseline_web.dao;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;
import win.somereason.test.baseline_web.entity.Car;

import java.util.List;

/**
 * Created by Qingsheng.Sun on 2018/3/13.
 */
@Mapper
@Component
public interface CarMapper {
    List<Car> queryAll();
    Car selectById(int id);
    void add(Car car);
}
